//
//  Book.m
//  base_m_06_内存管理
//
//  Created by China Dragon on 2023/1/26.
//

#import "Book.h"

@implementation Book

- (id)initWithPrice:(float)price{
    if(self = [super init]){
        _price = price;
    }
    
    return self;
}

-(void)dealloc{
    NSLog(@"Book 被回收了 dealloc %f",_price);
}

@end
